text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

在 Windows 上測試 Safari

在 Windows 上測試 Safari

Export and import MongoDB collection

Export and import MongoDB collection

MTR04 W2 D17 陣列練習題

MTR04 W2 D17 陣列練習題


Comments